<?php

//
// Stone大叔💯 
// ============================================================================
// ----------------------------------------------------------------------------
// <><><><><><><><><><><><><>有妹子加微信不哦！~<><><><><><><><><><><><><><><><>
// ----------------------------------------------------------------------------
// ============================================================================
// $Author: Stone大叔💯 $
// $Z Stone大叔💯 $
//
namespace Stone\Library\Template\Driver;
include FRAMEWORK_PATH . LIB_PATH . "Template" . DIRECTORY_SEPARATOR . "Driver" . DIRECTORY_SEPARATOR ."Smarty" . DIRECTORY_SEPARATOR ."Smarty.class.php"; 

class SmartyTemplate extends \Smarty{

    
    public function __construct() {       
        parent::__construct();     
        $this->template_dir    =  C('TMPL_PATH') ? C('TMPL_PATH') : APP_PATH . "View".DIRECTORY_SEPARATOR ; 
        $this->compile_dir     = TEMP_PATH;
        $this->cache_dir         =   CACHE_PATH . "temp_cache".DIRECTORY_SEPARATOR;
        $this->config_dir            =   SMARTY_DIR . "configs" . DIRECTORY_SEPARATOR;
        
     
               
    }
        

        
}
